Cotton is one of the most commonly used fibers in the textile industry, valued for…