At the top right corner of the screen, you can see a minimap. This shows your surrounding area, players and mobs nearby, and much more.
Hit B to create a waypoint. You can give it a name and a color. You can see this waypoint in the world and the minimap where you placed it.
You can hit Control+J to toggle the minimap.