In middle voice, the subject is both the doer and receiver of the action. For example, "The cake bakes in the oven".