Dividend stock vs Target index fund

What is the difference with these and what’s the pros and cons?