Coursera Online Courses and what they do

I was planning on taking an astronomy course from Coursera, and I was wondering if it’d be the same process as a previous online course. In my previous course (Algebra II) I payed for a certificate, and gave it to my school to put it onto my transcript and it said it was from Stanford. With a coursera course, would it be the same way? I complete and just give my highschool a certificate?

With Coursera, I think you can pay for a certification after you’ve completed one of their many online courses. I don’t know what you can do with that certificate beyond that, but you get one.
However, you can also do many Coursera courses for free, just without certification, so if you are more concerned with personal learning (I hope), that would be better.

You cannot get high school credit for a Coursera course, or at least I can’t imagine any high school offering credit for that. You can take a Coursera course for love of the subject. My daughter took a couple of Coursera courses in high school for fun and really learned a lot and enjoyed the courses. When she traveled to a university she was considering, the departmental director there was a big fan of Coursera courses and had taken one of the same courses she had taken. He offered her admission to a special program on the spot. She was very excited, but wound up attending a different university. My point is that while you may not get high school credit for taking a course, you can certainly learn a lot, and it might have other unexpected benefits as well.