Basically any USED vehicle, regardless of the number of wheels, needs to be saftied before it can be registered by a new owner. The premise is to keep beaters from being sold and put back on the streets.
They're looking for basic mechanical soundness... brakes, lights, tires etc all above minumum spec.