How to track the position of a moving object?

I know it is possible but dont know how.
Is there any electronic device which when moves I can come to know its current position as to where it is located at this moment.
Not exact position but roughly
I know it has something to do with Global Positioning system but just wanted to know if something like that is availble for civilians