Not for everyday use, but not gone
For most people, celestial navigation is no longer the everyday method of finding position. It is still a real skill, though, and many sailors and navigation students treat it as a backup to satellite navigation.
Why GPS replaced it for most people
A GPS receiver gives a position quickly, in any weather and at any hour, with little training. Celestial navigation needs clear skies, a sextant, an accurate time and calculations or tables. For most everyday purposes, GPS is faster and easier, so it became the default.
How celestial navigation still works
A navigator uses a sextant to measure the angle between a celestial body, such as the sun, moon, a planet or a star, and the horizon. The time of that measurement is recorded carefully, because the position depends on it. Using the measured angle, the time and published tables or calculations, the navigator works out a line of position on the chart. Two or more lines, taken at different times or on different bodies, cross to give a fix.
Why some people still learn it
GPS can be lost or disrupted, and electronics can fail. A navigator who understands celestial methods has a way to find position without relying on a receiver. Others learn it for the understanding it gives of how position is worked out, or because maritime training and sailing courses still include it.
How ships managed before GPS
Ships managed long voyages before satellite positioning using a mix of methods. Navigators relied on dead reckoning, celestial sights, depth soundings and landmarks. People often ask how did ships know where they were before GPS, and the answer is that they combined several imperfect methods and checked each one against the others.
How difficult is it to learn?
How difficult is it to learn how to use a sextant? The basic measurement is not hard to understand, but getting consistent results takes practice. Timing, reading the instrument carefully and doing the calculations correctly all need attention. Expect to spend time on the basics before the results become reliable.
The land navigation connection
On land, the same logic applies to map and compass work. A bearing from a known point, checked against a second bearing, fixes your position in a way that is similar to the lines of position used in celestial navigation. Learning position fixing on land is a good way to understand the ideas before trying more specialized methods.
Bottom line
Celestial navigation is not obsolete as a skill. It is less used as a primary method, and it is best seen as a backup and a way to understand how position is found. If you want to learn it, plan for steady practice and expect the calculations to take time.