This is a live aloe vera succulent, the kind of spiky, fleshy plant you often see on windowsills and kitchen counters. Its thick leaves store water, which is why it does best when you let the soil dry out between drinks. Aloe is a good pick if you want something green that doesn't ask for much attention.
Place it near a sunny window where it can get around six hours of light a day. If your home is darker, bright indirect light or a spot in partial sun will work too. Water thoroughly when the soil is dry, then leave it be until it dries again, and it suits beginners, busy people and anyone who tends to forget their plants.