My task or project is not showing the Gantt chart

For a task or project to be displayed on the Gantt chart, it’s essential to assign it both a start and end date.