The aperture controls the amount of light that enters through iris in the lens and is measured in f/stop ,you can adjust this by changing said f/stops.
Depth of field is defined as what is in focus in front and behind the subject, shallow depth in field has limited things in focus often with a blurred background this requires f/stop or f/2 or f/4 depth of field is defined by aperture the higher the number the more in focus an example of this would be f/16 or f/22
As seen here the aperture is f/2.8 meaning the depth