In baseball, a player scores by safely reaching home plate after advancing through first, second, and third base. This can happen due to hits, walks, or errors by the opposing team.