On a modern SLR, DSLR, and mirrorless camera, the aperture is between the lens's components. It's controlled by a diaphragm that opens and shuts the hole. That's what you're doing when you change the aperture.