Is time-restricted eating effective for weight loss?

Time-restricted eating is a diet plan that requires people to limit themselves to only eating during specific hours of the day and then fasting outside of this period.