There are many factors to consider when selecting your decking material. When you're choosing between composite and wood decking It really comes down to four main factors. The first being how much time and money you wanna spend on maintenance. The second being what look you're going for. The third, your climate conditions, and the fourth your budget.
Wood decking like cedar or pressure treated lumber, gives you that classic natural feel. It is usually less expensive material-wise, upfront, and easier to work with, and it can be stained or painted in any way you like. It does, however, require regular upkeep. It needs to be restained and sealed regularly and can splinter and rot over time.
Composite decking, on the other hand, is made from a blend of recycled wood fibers and plastic. It is more expensive as a material initially, but is designed to last with minimal maintenance. No staining, no ceiling, and it won't work or splinter in a way that real wood can. It also comes in a wide range of colors and textures that can convincingly mimic wood, but you will be able to tell that it's not real wood.
The downside is that it can get hotter in full sun, and repairs are usually more involved and expensive than with real wood. When deciding what's best for your project, consider your climate hot and sunny areas, or very wet environments can push you towards one option or the other. Think about how much time you wanna spend maintaining the deck, the overall style, and look you're going for and your budget both now and over the long term.