It can be tricky to get small objects, such as insects or flowers, in focus. You need to move the camera closer to the object. To take sharp and precise pictures of even the tiniest details, use close-up mode.
Press and hold the camera key.
|Activate close-up mode|
Select > Scene mode > Close-up.