A square wave is a type of waveform that is characterized by a sharp transition between two levels, typically corresponding to 0 volts and a peak voltage value. The transition between these two levels is typically very fast, and the waveform can be thought of as being composed of a series of square pulses. Square waves are often used in electronic circuits, and they can be generated using digital logic gates.