You can do it by blurring the background of an image while keeping the subject in focus. Use a wide aperture like f/1.4 or f/2. It allows less light into the camera and makes the background appear more out of focus. Additionally, use a longer focal length lens. Or get closer to the subject.