Does fruit count as sugar?


I’ve committed to losing the last 7 pounds by my birthday which is at the end of the year. I’m re-watching all the overeating material. When cutting out flour and sugar, does fruit count as sugar? Or does “sugar” refer to refined sugar, devoid of fiber and often nutrients.
Thanks for the help!