Whats the point of having prices like 2.99$

This is a super embarrassing question but really whats the point of prices that end with 99 regardless which currency? Why cant its just be 3 dollars/euros whatever.