What is the difference between slots and scoped slots in Vue.js?

In Vue.js, a slot is a placeholder in a child component filled with content passed from the parent component.

In the slot, the component is compiled in the parent’s scope and then passed to the child component. So, it is not possible to use child component properties in a slot’s content.

In Scoped slot, you can pass child component data to the parent scope and then use it in slot content.