Figma Frame Units Pt or Px?

Hi,

Fm new in Figma and it’s not clear for me if Figma uses points or pixels when creating a iPhone Frame ? and what dimensions it uses when creating website frame ?

Kindest Regards