Many uses depending on the problem being solved. A common use would be for debugging i2c, spi, mdio and other serial busses and their protocols. These interfaces allow from some creativity from the hardware engineers so as a result the software has to make sure it is sending the right bits in the right order at the right rate, for bidirectional lines turning the bus around at the right time so the other side can drive, etc. All of this is visible on the scope. You can figure out if the reason why something is not working is because of your code or because of the hardware or because of some information that was not properly communicated between the parties, the correct i2c address for example.
Another not so uncommon use is for debugging, for example am I really entering the interrupt service routine. Add a line to wiggle a gpio bit, look for that bit on the scope, perhaps look at the timing between that bit and the external event that caused it, (assuming it was an external event). Perhaps determine that you may have a latency problem, maybe you need some assembly to speed up the reaction time, that kind of thing.
Getting a scope yourself before even knowing what you are going to do with it is perhaps not the right thing to do. It depends on where you are in this process of moving into this world. If you are in an independent contractor, sure at some point, if you work for someone they should already have this equipment if they want to be or remain successful in this business. At the same time, all too often, the right equipment is not available to the engineers and you have to get creative to do the job so, an important lesson is getting by without the proper equipment. Perhaps the gpio example above is a workaround for not having the equipment or development software/environment, etc you wanted/needed for the job.
Datasheets and users manuals always have some errors or missing information. It is quite often that a divide by 2 on a clock tree is not documented well enough and you cant figure out why your serial port is not working. get out the scope, measure the time on the signal, perhaps change the code to make it a different baud rate, see how that changes the signal on the scope, figure out if you are off by 2 or 4 (usually the case), etc. Knowing the answer, to the clock rate produced might bring that ahh ha moment in what the manual was trying to describe or what one of the pictures is showing but not mentioned anywhere in the text. One of the manuals I recently used had that exact thing the text said this clock is divided by two for everyone, but one picture, only one, mentioned timers being that clock times 2, effectively not divided. By experimenting I understood, what the reality was. If you run off and write many thousands of lines of code based on manuals without experimenting on the real hardware you are in for weeks or months of debugging. The scope at least in part helps.
The short answer is that with a desktop computer or laptop or phone or other smart device you have a user interface, keyboard, mouse, display, touch screen, etc. In embedded you sometimes have a serial port and some leds to blink, but often not, and to get the serial port working you have to get the thing booting which takes a scope if there are problems, debug the flash, make sure the data is in there with the right endianness, etc. Then debug the serial port clock speed, if the manual for the device is lacking. the oscilloscope is your monitor or display for embedded programs. like an lcd panel or computer monitor is to writing gui applications.