Click the green circle to maximize the window. To make the window full-screen, hold down Option as you click. Click the yellow circle to minimize a window to the dock. Click the red circle to close the window.