This is can be a shallow depth of field because the camera main focus in on the yellow flower while the rest of the background is blurry.
This is an example of perspective because the further I am the stairs and the monument will get smaller and the closer Ill get, the objects will get bigger.
These are great examples and show me you really get the difference between depth of field and showing depth with perspective.