Loka (as in location) means place. It is related to the words: Realms (Buddhist); Heavens, Worlds, Olams, Alams.

In simple cosmologies there are 3 places or 3 worlds. In more complex versions there are three basic kinds of places:

Place Plane of existence
Arupa Loka 28-31
Rupa Loka 12-27
Kama Loka 1-11

Cologne Sanskrit Dictionary
loka m. (connected with {roka}
in the oldest texts {loka} is generally preceded by {u} , which accord. to the Padap. = the particle 3. {u} ; but {u} may be a prefixed vowel and {uloka} , a collateral dialectic form of {loka} ; accord. to others {u-loka} is abridged from {uru-} or {ava-loka}) , free or open space , room , place , scope , free motion
(acc. with {kR} or {dA} or {anu-} {nI} , to make room grant freedom
{loke} with gen. instead of)
intermediate space
a tract , region , district , country , province
the wide space or world (either the universe or , any division of it
esp. the sky or heaven 3 Lokas are commonly enumerated , viz. heaven , earth , and the atmosphere or lower regions ; sometimes only the first two ; but a fuller classification gives 7 worlds , viz.
Bhu-loka , the earth
Bhuvar-loka the space between the earth and sun inhabited by Munis , Siddhas &c.
Svar-loka , Indra's heaven above the sun or between it and the polar star
Mahar-loka , a region above the polar star and inhabited by Bhrigo and other saints who survive the destruction of the 3 lower worlds
Janar-loka , inhabited by Brahma's son Sanat-kumara &c.
Tapar-loka , inhabited by deified Vairagins
Satya-loka or Brahma-loka , abode of Brahma , translation to which exempts from rebirth
elsewhere these 7 worlds are described as earth , sky , heaven , middle region , place of re-births , mansion of the blest , and abode of truth ; sometimes 14 worlds are mentioned , viz. the 7 above , and 7 lower regions called in the order of their descent below the earth- A-tala , Vi-tala , Su-tala , Rasatala , Talatala , Maha-tala , and Patala ;
N. of the number seven (cf. above)
the earth or world of human beings
{aya4MlokaH} , this world
{asau} or {parolokaH} , that or the other world
loke or {iha} {loke} , here on earth opp. to para-tra} , {para-loke} &c. ; {kRtsne} {loke} , on the whole earth ;
(also pl.) the inhabitants of the world , mankind , folk , people (sometimes opp. to king)
(pl.) men (as opp. to women
a company , community (of ten ifc. to form collectives) K
ordinary life , worldly affairs , common practice or usage
({loke} either in ordinary life , in worldly matters ; or , in common language , in popular speech as opp. to {vede} , {chandasi}) ; the faculty of seeing , sight (only in {cakSur-l-} q.v.) ;
{lokAnAMsAmanI} du. and {lokAnAMvratAni}
pl.N. of Samans [Cf. Lat. {lusus} , originally , a clearing of a forest ; Lith. {laukas} , a field.]