Using mathematical analysis to fill in the gaps in data. The photosites on sensors only capture red, green or blue light, so interpolation is used to examine surrounding pixels and calculate full colour values from those. When you increase the size (in pixels) of a photo, the software interpolates new pixels from the existing ones.