This is a phrase for saying how long a common process or action is.
It often expresses how long a person's travel time is:
It takes me 20 minutes to get to work.
It can also be used to talk about other actions, like taking a shower, getting dressed, and putting on makeup to get ready to go out:
It takes Erin an hour and a half to get ready.
And you can use it to talk about natural processes:
It takes about two weeks for the fruit to ripen.