The operating system (OS) of a computer is code that provides an environment for managing the hardware in a way that allows software developers to provide solutions for many problems. In an object oriented system, the OS provides many tools like text boxes, picture boxes and command buttons (the objects) and each of those have "properties;" a set of values that describe how the object looks and reacts to the user's input. They also have "Methods" which are segments of code that can be run from other parts of the program and "Events;" code that can be called when a certain condition is met.
Development environments like Visual Basic or C++ also have access to OS components that can be used in their projects like the Common Dialog control that accesses files and printers or browsers, email clients or communication controls that can be built into projects.