Ideal days ask how long something would take if everything went perfectly: all the information available, nobody interrupting, no waiting for reviews. Because real days are never like that, a team does not expect to finish ten ideal days of work in ten calendar days. Instead it measures how many ideal days it actually completes per sprint, which works like velocity.
Example
A team of four estimates its stories in ideal days. In a two-week sprint, the four people have 40 working days, but past sprints show they complete about 24 ideal days of work. The team plans the next sprint at around 24 ideal days, not 40.
Common misunderstanding
Ideal days are not the same as calendar days, and a story estimated at 2 ideal days will rarely be finished in two days. Stakeholders often hear "2 days" and expect that, which is a common reason teams move to story points. Ideal days also tend to depend more on who does the work than points do.
Why it matters for estimation
Ideal days are easier to explain at first, but they invite the time conversation that relative estimation avoids. See story points vs hours and relative estimation.