This appears to be the plant known as lucky bamboo, an easy house plant that is often sold singly or in bundled groups with roots growing in water or well-draining potting soil. It’s a Chinese favorite because it supposedly brings good luck to the homeowner. Slender leaves take bright indirect light. Not really a bamboo but a Dracaena. Water regularly but do not allow plant to sit in water as this may lead to root rot and feed with a slow release or organic fertilizer formulated for container plants about once a month to stimulate new growth. Hopefully, you planted the Dracaena at the same level as it was in its previous container and used a commercial, sterile, well-draining potting soil. Also make sure the pot has drainage holes.