Termites are attracted to moist, rotted wood. They enter homes through cracks and openings along the foundation and seek out basements and other damp areas.