Pixel Differences

Hi guys!
I’m completely confused:c
Can anyone explain the difference between CSS Pixels, Hardware Pixels and DIPs?