A pixel need no be simply written to the framebuffer, it may be blended with it.
The alpha channel of an RGBA color gives a per-pixel mixing parameter.
The result is transparency.
This introduces some difficult and non-intuitive issues.