How a set is created?

How a set is created?

It is created by placing all elements inside curly brackets{} , separated by comma(,) or using a built in function set().