A story point describes how big a piece of work is compared with other work the team has done. It is not a unit of time. A story estimated at 2 is roughly twice the size of a 1, and a 5 is a bit more than twice a 2. The scale usually follows a Fibonacci-like sequence such as 1, 2, 3, 5, 8, 13, so that larger items get wider gaps that reflect their larger uncertainty.
Example
A team agrees that "Add a phone number field to the profile form" is a 3. A new story, "Let users upload a profile photo", needs file storage and resizing as well as a form field, so the team estimates it at 5. "Fix a typo on the pricing page" is much smaller and gets a 1.
Common misunderstanding
The most common mistake is converting points to hours with a fixed rate, such as "one point is half a day". That turns relative estimates back into time estimates. Another is comparing points between teams: each team has its own reference stories, so its own scale. Story points are also not part of the Scrum Guide; they are an optional practice.
In planning poker
Story points are the most common unit in planning poker. Each person picks a card with the number of points they think the story is worth, and the team discusses the differences. The story points guide explains the unit in depth, and relative estimation covers how to set up reference stories.