This is the 4670th most frequent Russian word.
достается
"Достается" means "is received" or "is obtained," often implying effort, hardship, or as a consequence.
Here, 'достается' is used to mean 'gets' or 'receives,' describing a division of items among participants.
Когда пирог готов, каждому достается кусок.
When the pie is ready, everyone gets a piece.
In this sentence, 'достается' means 'receives' or 'is assigned,' referring to obtaining something as a result of circumstances.
После долгого пути путешественникам достается хорошее место для отдыха.
After a long journey, the travelers get a nice place to rest.
The word 'достается' here conveys obtaining or being given something special as a present or favor.