How do you create a table of contents automatically ?(MS word)

A ) References >table of contents ✅

B ) Insert> table

C ) Layout >contents

D ) View> contents