Carbs

Are carbs good for you or not when trying to lose weight? I’m seeing so many different answers online. Has anyone cut carbs out and lost weight or didn’t cut carbs out and still lost weight?