Logic is the study of statements such as "If it rains AND I'm going inside, THEN I bring an umbrella". Specifically, we want to see the truth values of this statement.
Formal logic tries to replace logic statements with symbols. For example, if we write the statement above in formal logic, then it becomes p\wedge q\rightarrow r (where \wedge is a symbol for AND, and were \rightarrow is a symbol for THEN[/tex].
Now, if we study such symbolic statements, then we see that some statements are always true. For example p\rightarrow p and p\wedge q\rightarrow q\wedge p. But there are possibly infinite many such statements. A natural question is, is there a collection of statements which are always true, such that any other true statement is derivable from our collection. A positive answer to this, is given by Boole.
The idea of Boole, was to replace logic statements by algebraic symbols. For example "NOT p" is represented by "-p". p AND q is represented by "p.q". Then he gave 10 statements (which are always true), and every other statement can be derived from these 10 statements.
So, the original idea of a Boolean algebra was only applicable to formal logic. Fortunately, other mathematicians have seen that the concept of a Boolean algebra was also applicable to other occasions. And even later than that, the concept of Boolean algebra is used in computer science.