Retirement tax questions

Must have earned income however to contribute to a Roth IRA in the current year.