A secured transaction involves a borrower agreeing to provide collateral in exchange for a loan. The details of the transaction are documented in a security agreement which outlines the terms and conditions, including the description of the collateral, the obligations of the borrower, and the rights of the lender. The security interest is then perfected by filing a financing statement with the appropriate government authority, providing public notice of the lender's interest.