IP spoofing is the creation of IP packets using somebody else's IP address as the source address of an IP packet.
Let's take a look at IP headers in an IP packet:
In the following diagram, the attackers represent someone else's IP address: