Confused on debug

What does the debug do in Roblox studio when you put in your code (I’m brand new) So Im not really sure what it does

image