Why is sociology considered a science?

Why is sociology considered a science?