An IP address stands for an internet protocol address. It is just a number that is assigned to a computer or something that is connected to a computer network. I am not quite sure how it works.
The domain name is what identifies a network address as being part of a specific domain. It is related to an IP address because they are both part of a network address. (I don't really know)