A will takes effect after you are gone. It says who receives your property, who settles the estate, and who should care for minor children. A trust can hold property while you are alive and pass it along afterward, often without a public court process, and it can also set out when and how a beneficiary receives what you left.
Neither one is automatically the better choice. A simple will is enough for some families; a trust earns its extra setup cost for others, especially where young children, a business, out-of-state property, or privacy are involved. The two documents usually work together rather than against each other.
Alabama law and the details of your own assets shape the answer, so it is worth asking the question directly instead of guessing. This article is general information, not legal advice.