Here are hammocks used for camping. They have rain fly, enclosed tent and bug screen.
You can sleep better in a hammock than on the ground.
They are lighter and easier to carry than a tent so is good choice if backpacking.
You will be further from bugs and snakes that are on the ground.