can I use apple tv to extend / duplicate my macbook display onto the television?

I know apple tv plays videos from the web browser on laptop / macbook.
I also wanted to know if I can plan any video stored on my macbook and play it on the Television?

or can I use appletv lto extend or duplicate my display from my macbook?

Follow this Question