Sometimes you have an image with antialising against a background colour, such as white.
If you paste it over a coloured box you get this:
To make the background colour transparent, use Gimp's Color to Alpha (Layer > Transparency > Color to Alpha).
It will remove the background.
Allowing you to paste it in the box: