1982 Maico 490 Resto

Don't know much about bikes, so why two rear sprockets?

Those old trail/street bikes like this Trailmaster or Honda Trail 90 had one low ratio sprocket for trail chugging and 1 high ratio for street speeds.

This Yamaha has a top speed of 58 ish mph using the little sprocket and probably 30 with the big sprocket.
You actually have to add a few links when you switch to the big sprocket.
They are still under the seat with all the original tools and manuals . I even got the unused extra key !